package com.xxxt.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xxxt.entity.Company;


public interface CompanyMapper {

	Company queryCompanyByCompanyId(@Param("companyId") String companyId);
	public Company queryCompanyByCompanyName(String name);
	public List<Company> selectCompanyList();
	public boolean insertCompany(Company company);
	public boolean insertCompanyList(List<Company> list);
	public boolean updateCompany(Company company);
	public String selectCompanyImgById(@Param("id") String id);
	public boolean updateCompanyImg(@Param("img") String img,@Param("id") String id);
	public boolean updateCompanyAndImg(Company company);
	
	
	//置空
	public void aaaa();
}
